class Solution2 {
    public boolean isPalindrome(String s) {
        int i=0;
        int j=s.length()-1;
        while(i<j){
            while(i<j){
                char ch=s.charAt(i);
                if(('0'<=ch&&ch<='9')||('a'<=ch&&ch<='z')||('A'<=ch&&ch<='Z')){
                    break;
                }
                i++;
            }
            while(i<j){
                char ch=s.charAt(j);
                 if(('0'<=ch&&ch<='9')||('a'<=ch&&ch<='z')||('A'<=ch&&ch<='Z')){
                    break;
                }
                j--;
            }
            char s1=s.charAt(i);
            char s2=s.charAt(j);
            int index=(int)(s1-s2);
            if(index==0||index==32||index==-32){

            }else {
                return false;
            }
            i++;
            j--;
        }
        return true;
    }

    public static void main(String[] args) {
//        Solution2 solution2=new Solution2();
//        solution2.isPalindrome("0P");
        System.out.println(Character.toLowerCase(1));
    }
}